ComponentOne Xamarin.Android
GroupAsync<T>(ICollectionView<T>,Expression<Func<T,Object>>) Method


C1.CollectionView Assembly > C1.CollectionView Namespace > ICollectionViewEx Class > GroupAsync Method : GroupAsync<T>(ICollectionView<T>,Expression<Func<T,Object>>) Method
The collection view.
The group path.
Groups the collection view according to the specified group path.
Syntax
'Declaration
 
<AsyncStateMachineAttribute(C1.CollectionView.ICollectionViewEx/d__30`1)> 
<ExtensionAttribute()> 
Public Overloads Shared Function GroupAsync(Of T As Class)( _ 
   ByVal collectionView As ICollectionView(Of T), _ 
   ByVal groupPath As Expression(Of Func(Of T,Object)) _ 
) As Task
'Usage
 
Dim collectionView As ICollectionView(Of T)
Dim groupPath As Expression(Of Func(Of T,Object))
Dim value As Task
 
value = ICollectionViewEx.GroupAsync(Of T)(collectionView, groupPath)
[AsyncStateMachine(C1.CollectionView.ICollectionViewEx/d__30`1)] 
[Extension()] 
public static Task GroupAsync<T>( 
   ICollectionView<T> collectionView, 
   Expression<Func<T,object>> groupPath 
) 
where T: class

Parameters

collectionView
The collection view.
groupPath
The group path.

Type Parameters

T
See Also

Reference

ICollectionViewEx Class
ICollectionViewEx Members
Overload List